/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.fpt.bean;

import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;

/**
 *
 * @author Admin
 */
public interface StudentLocalHome extends EJBLocalHome {
    
    edu.fpt.bean.StudentLocal findByPrimaryKey(java.lang.String key) throws FinderException;
    
    edu.fpt.bean.StudentLocal create(java.lang.String key) throws CreateException;

    Collection findByStudentID(String studentID) throws FinderException;

    Collection findByName(String name) throws FinderException;

    Collection findByPassword(String password) throws FinderException;

    StudentLocal create(String studentId, String name, String password) throws CreateException;
}
